cmake_minimum_required(VERSION 2.8)
project(darknet)

add_compile_options(-std=c++11)
add_compile_options(-pthread)

file(GLOB_RECURSE SOURCE_FILES src/*.cpp)
file(GLOB_RECURSE HEADER_FILES include/*.h)

include_directories(
    ${CMAKE_CURRENT_LIST_DIR}/../${PROJECT_NAME}/include    
)

add_library(${PROJECT_NAME}
  ${SOURCE_FILES}
  ${HEADER_FILES}
)


target_link_libraries(${PROJECT_NAME}
    
)

install(TARGETS ${PROJECT_NAME}
        DESTINATION lib
        )
install(DIRECTORY include/
        DESTINATION include)

